'''
Created on Jul 22, 2009

@author: sternron
'''
class potentialBasedState(object):
    def __init__(self, pcdb,g):
        self.pcdb = pcdb
        self.g = g

    def actions(self):
#        gen_to_kPc = self.pcdb.generated_to_kPc
#        return gen_to_kPc.iterkeys()
        return self.pcdb.find_gcn_members()

    def same(self, other):
        return self.pcdb.same(other.pcdb)

    def __hash__(self):
        return self.pcdb.__hash__()